﻿
using System;
namespace SW.Lite.Model.Master
{
    [Serializable]
    public class ButtonModel : IModel
    {
        #region 属性

        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int MenuID { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string Code { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string Title { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string Icon { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string Attributes { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int Sort { get; set; }


        #endregion
        /// <summary>
        /// 
        /// </summary>
        public ButtonModel()
        {

        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <param name="menuID"></param>
        /// <param name="code"></param>
        /// <param name="title"></param>
        /// <param name="icon"></param>
        /// <param name="attributes"></param>
        /// <param name="sort"></param>
        public ButtonModel(int id, int menuID, string code, string title, string icon, string attributes, int sort)
        {
            Id = id;
            MenuID = menuID;
            Code = code;
            Title = title;
            Icon = icon;
            Attributes = attributes;
            Sort = sort;
        }
    }
}